<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>后台管理模板</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
        <link rel="stylesheet" href="../../css/global.css" media="all">
        <link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">
        <link rel="stylesheet" href="../../datatables/media/css/jquery.dataTables.css">
        <link rel="stylesheet" href="../../datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css">
    </head>
    <body onload="ReImgSize()">
        <div class="layui-layout layui-layout-admin" style="border-bottom: solid 5px #1aa094;">
            <!--头部导航-->
            <div class="layui-header header header-demo" ></div>
            <!--左侧导航-->
            <div class="layui-side layui-bg-black" id="admin-side">
            </div>
            <!--右侧具体内容-->
            <div class="layui-body" style="bottom: 0;border-left: solid 2px #1AA094;padding:20px" id="admin-body">
                <div class="title">订单列表</div>
                <hr />
                <div class="select">
                <select name="managerselect" lay-verify="" >
                    <option value="">状态</option>
                    <option value="">状态-未接单</option>
                    <option value="1">状态-已接单</option>
                    <option value="2">状态-正在采购</option>
                    <option value="3">状态-采购完成</option>
                    <option value="4">状态-正在寄件<span class="fa fa-long-arrow-down" aria-hidden="true"></span></option>
                    <option value="3">状态-派送中</option>
                    <option value="3">状态-已关闭</option>
                    <option value="3">状态-待确认收货</option>
                    <option value="3">状态-待评价</option>
                    <option value="3">状态-已完成</option>
                </select>
                 <div class="layui-btn layui-btn-danger  layui-btn-small selectbtn">批量关闭</div></div>
                <div class="layui-form">
                    <table class="layui-table" id="orderTable">
                        <thead>
                            <tr>
                                <th><input type="checkbox" name="" id="checkall" onchange="checkAll(this,'#orderTable')"></th>
                                <th>请求方</th>
                                <th>代购方</th>
                                <th>快递员</th>
                                <th>创建时间</th>
                                <th>完成时间</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td><input type="checkbox" name="" id="" ></td>
                                <td><img src="../../images/1.jpg"><span>adad</span></td>
                                <td><img src="../../images/0.jpg"><span>lzy</span></td>
                                <td><img src="../../images/xiaosong.jpg"><span>dsaf</span></td>
                                <td>2017-6-30</td>
                                <td>2017-6-30</td>
                                <td>使用中</td>
                                <td><div class="layui-btn  layui-btn-small">详情</div><div class="layui-btn layui-btn-danger  layui-btn-small">关闭</div></td>
                            </tr>
                            <tr>
                                <td><input type="checkbox" name="" id="" ></td>
                                <td><img src="../../images/6.jpg"><span>adad</span></td>
                                <td><img src="../../images/find_1.png"><span>lzy</span></td>
                                <td><img src="../../images/0.jpg"><span>dsaf</span></td>
                                <td>2017-6-30</td>
                                <td>2017-6-30</td>
                                <td>使用中</td>
                                <td><div class="layui-btn  layui-btn-small">详情</div><div class="layui-btn layui-btn-danger  layui-btn-small">关闭</div></td>
                            </tr>
                        </tbody>
                    </table>
                   
                </div>
            </div>
            <!--底部导航-->
            <div class="layui-footer footer footer-demo" id="admin-footer"></div>
            <!--JS模块-->
            <script type="text/javascript" src="../../layui/layui.js"></script>
            <script src="../../js/jquery-1.12.3.min.js"></script>
            <script src="../../js/index.js"></script>
            <!-- DataTables JavaScript -->
            <script src="../../datatables/media/js/jquery.dataTables.min.js"></script>
            <script>
            $(function(){
            $("#order").addClass('layui-this');//对应订单管理的背景色
            $('#orderTable').DataTable({
            responsive: true,
            ordering: false,
            searching: true,
            "bLengthChange": false,
            "bRetrieve": true,
            "bFilter": true//过滤功能
            });
            // for (var i = 0; i < 12; i++) {
            // $('#orderTable').dataTable().fnAddData(['<input type="checkbox" name=""  ><img src="../../images/6.jpg">', '0412', 'lzy','管理员', '女','2017-7-1','使用中','<div class="layui-btn layui-btn-danger  layui-btn-small">关闭账号</div><div class="layui-btn  layui-btn-small">重置密码</div><div class="layui-btn layui-btn-warm  layui-btn-small">编辑</div>'] );
            // }
            // $('#orderTable').dataTable().fnClearTable();//清除表格内
            })
            
            </script>
            
        </div>
    </body>
</html>